<div class="navbar navbar-inverse navbar-fixed-top">
	<div class="navbar-inner">
    	<div class="container">
        	<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            	<span class="icon-bar"></span>
            	<span class="icon-bar"></span>
            	<span class="icon-bar"></span>
          	</a>
         	<label class="usuarioLogado"><i class="icon-user icon-white"></i>&nbsp;&nbsp;${usuarioLogado}</label>
          	<div class="nav-collapse collapse">
            	<ul class="nav">
            		<sec:authorize access="hasAnyRole('ROLE_ADMIN', 'ROLE_USER')">
						<li class="active"><a href="/spring-security-example/admin/inicio"><spring:message code="menu.home"/></a></li>
					</sec:authorize> 
					<sec:authorize access="hasAnyRole('ROLE_ADMIN')">
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="menu.parameters"/><b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="#">Nome</a></li>
								<li><a href="#">Nome 2</a></li>
							</ul>
						</li>
						<li class="dropdown">
							<a href="#" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="menu.reports"/><b class="caret"></b></a>
							<ul class="dropdown-menu">
								<li><a href="#">Relatorio 1</a></li>
								<li><a href="#">Relatorio 2</a></li>
							</ul>
						</li>
					</sec:authorize> 
            	</ul> 
            	<form class="navbar-form pull-right" action="/spring-security-example/logout">
            		<button title="<spring:message code="button.exit"/>" class="btn btn-small btn-danger" type="submit"><i class="icon-off"></i></button> 
            	</form>         
			</div>
		</div>
	</div>
</div>